LayoutTreeNode

data class LayoutTreeNode(domNodeIndex: Int, boundingBox: Rect, layoutText: String?, inlineTextNodes: List<InlineTextBox>?, styleIndex: Int?, paintOrder: Int?, isStackingContext: Boolean?)

Details of an element in the DOM tree with a LayoutObject.

Constructors

LayoutTreeNode
Link copied to clipboard
fun LayoutTreeNode(domNodeIndex: Int, boundingBox: Rect, layoutText: String? = null, inlineTextNodes: List<InlineTextBox>? = null, styleIndex: Int? = null, paintOrder: Int? = null, isStackingContext: Boolean? = null)

Properties

boundingBox
Link copied to clipboard
val boundingBox: Rect
The bounding box in document coordinates.
domNodeIndex
Link copied to clipboard
val domNodeIndex: Int
The index of the related DOM node in the domNodes array returned by getSnapshot.
inlineTextNodes
Link copied to clipboard
val inlineTextNodes: List<InlineTextBox>? = null
The post-layout inline text nodes, if any.
isStackingContext
Link copied to clipboard
val isStackingContext: Boolean? = null
Set to true to indicate the element begins a new stacking context.
layoutText
Link copied to clipboard
val layoutText: String? = null
Contents of the LayoutText, if any.
paintOrder
Link copied to clipboard
val paintOrder: Int? = null
Global paint order index, which is determined by the stacking order of the nodes.
styleIndex
Link copied to clipboard
val styleIndex: Int? = null
Index into the computedStyles array returned by getSnapshot.

Sources

jvm source
Link copied to clipboard